package org.gfix.converter;

import java.math.BigDecimal;

public class BigDecimalConverter implements Converter<BigDecimal>
{

	@Override
	public BigDecimal convertFromFix(String contents)
	{
		return new BigDecimal(contents);
	}

	@Override
	public String convertToFix(BigDecimal value)
	{
		return value.toPlainString();
	}
	
}